package com.lxd.milktea.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 商品详情
 */
@Data
@ApiModel(value="商品",description="商品")
public class ProductInfoVO {

    @JsonProperty("id")
    @ApiModelProperty(value = "商品ID",example = "100086")
    private String productId;

    @JsonProperty("name")
    @ApiModelProperty(value = "商品名",example = "100086")
    private String productName;

    @JsonProperty("price")
    @ApiModelProperty(value = "商品单价",example = "10.66")
    private BigDecimal productPrice;

    @JsonProperty("description")
    @ApiModelProperty(value = "商品描述",example = "好喝奶茶")
    private String productDescription;

    @JsonProperty("icon")
    @ApiModelProperty(value = "商品图片",example = "www.baidu.com")
    private String productIcon;

    @JsonProperty("stock")
    @ApiModelProperty(value = "商品库存",example = "10")
    private Integer productStock;
}
